#pragma once

#include <string>
#include <vector>
#include "../Tinyxml2/tinyxml2.h"
#include "Field.h"

class TableConfig
{
public:
    TableConfig();
    TableConfig(const TableConfig &from);
    ~TableConfig();

    TableConfig& operator=(const TableConfig& from);

    void load(tinyxml2::XMLElement *element);

public:
    std::string name_;
    std::string order_by_field_;
    std::vector<Field> fields_;
	std::vector<Field> ope_fields_;
};

